import { request } from '@/api/service'

export const urlPrefix = '/api/tenant/client/'

export function getClientInfo (query) {
  return request({
    url: '/api/tenant/package_features/get_my_client_info/',
    method: 'get',
    params: query
  })
}

export function getAllMenu (query) {
  return request({
    url: '/api/tenant/package_features/all_menu/',
    method: 'get',
    params: query
  })
}

export function getClientAuthMenu (query) {
  return request({
    url: '/api/tenant/package_features/client_auth_menu/',
    method: 'get',
    params: query
  })
}

export function getClientOpeningRecordData (query) {
  return request({
    url: '/api/tenant/package_features/get_client_opening_record/',
    method: 'get',
    params: query
  })
}
